<template>
<ECForm @register="register"/>
</template>

<script setup lang="ts">
import { useForm } from '@zm-pkg/ui'
const [register] = useForm({
  schemas: [
    { component: 'Input', label: '测试1', name: 'test', props: { defaultValue: '222'}, span:12 },
    { component: 'Input', label: '测试2', name: 'test1', span:12, },
    { component: 'Input', label: '测试3', name: 'test2', span:12 },
    { component: 'Input', label: '测试4', name: 'test3', span:12 },
    { component: 'Input', label: '测试5', name: 'test4', span:12 },
    { component: 'Input', label: '测试6', name: 'test5', span:12 },
    { component: 'Input', label: '测试7', name: 'test6', span:12 },
    { component: 'Input', label: '测试8', name: 'test7', span:12 },
    { component: 'Input', label: '测试9', name: 'test8', span:12 },
    { component: 'Input', label: '测试10', name: 'test9', span:12 },
  ]
})
</script>

<style scoped>

</style>
